<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Demo</title>
    <script src="../qrcode.min.js"></script>
</head>

<body>
    <div id="qrcode"></div>
    <script type="text/javascript">
        var qrcode = new QRCode.default(document.getElementById("qrcode"), {
            logo: './logo.png',
            text: "https://www.xiaoboy.com",
            width: 128,
            height: 128
        });
    </script>
</body>

</html>